package com.pubinfo.passbook.api.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pubinfo.passbook.common.entity.TFileElectronicFtp;
import com.pubinfo.passbook.common.entity.TFileInfo;
import com.pubinfo.passbook.common.entity.TSourceArtificial;
import com.pubinfo.passbook.common.model.dto.MDM.TSourceArtificialParam;
import com.pubinfo.passbook.common.model.dto.file.ArtificialParam;
import com.pubinfo.passbook.common.model.vo.rule.TSourceArtificialDetailVo;
import com.pubinfo.passbook.common.model.vo.rule.updateArtificialSumParam;
import com.pubinfo.passbook.common.model.vo.rule.updatePassbookSumParam;
import com.sun.org.apache.xpath.internal.operations.Bool;
import org.springframework.web.bind.annotation.PathVariable;

import java.io.IOException;
import java.math.BigDecimal;
import java.util.List;

public interface ArtificialService {
  /**
   * 修改报销金额并修改对应的xml
   * @param sum
   * @param instanceId
   * @return
   */
  Boolean updateInstanceSumById(BigDecimal sum, String instanceId,String acct) throws IOException;

  Boolean updateArtificialSumById(updateArtificialSumParam updateArtificialSumParam, String acct) throws IOException;

  Boolean updatePassbookSumById(updatePassbookSumParam updatePassbookSumParam,String acct) throws IOException;
}
